﻿@{
    Layout = null;
}

<!DOCTYPE html>

<html>
<head>
    <meta name="viewport" content="width=device-width" />
    <title>print</title>
</head>
<body>
    <div style="width:720px;"> 
        <p style="font-size: 15pt; font-weight: bold; margin: 0px; text-align: center;">THÔNG TIN ĐIỀU TRA VIÊN</p>
        <p style="font-size:12pt; text-align:center; margin:0px;">(@ViewBag.TenDB)</p>
        <br />
        <table border=1 cellspacing=0 cellpadding=0 style='border-collapse:collapse;border:none; width:100%;'>
            <tr>
                <td valign=top style='width:20pt;border:solid windowtext 1.0pt; padding:3pt 5.4pt 3pt 5.4pt; text-align:center; font-weight:bold;'>
                    STT
                </td>
                <td valign=top style='width: 95.75pt; border: solid windowtext 1.0pt; border-left: none; padding: 3pt 5.4pt 3pt 5.4pt; font-weight: bold; text-align: center;'>
                    Họ và tên
                </td>
                <td valign=top style='width: 95.75pt; border: solid windowtext 1.0pt; border-left: none; padding: 3pt 5.4pt 3pt 5.4pt; font-weight: bold; text-align: center;'>
                    Tên đăng nhập
                </td>
                <td valign=top style='width: 95.75pt; border: solid windowtext 1.0pt; border-left: none; padding: 3pt 5.4pt 3pt 5.4pt; font-weight: bold; text-align: center;'>
                    Nhóm
                </td>
                <td valign=top style='border: solid windowtext 1.0pt; border-left: none; padding: 3pt 5.4pt 3pt 5.4pt; font-weight: bold; text-align: center;'>
                    Mô tả
                </td>
            </tr>
            @{
                int i = 0;
                foreach (DHQGHN.PM2.Models.EnumeratorModel h in ViewBag.rows)
                {
                    ++i;
                    <tr>
                        <td valign=top style='border: solid windowtext 1.0pt; padding: 3pt 5.4pt 3pt 5.4pt; text-align: center;'>
                            @i
                        </td>
                        <td valign=top style='border:solid windowtext 1.0pt; border-left:none;padding:3pt 5.4pt 3pt 5.4pt'>
                            @h.FULL_NAME
                        </td>
                        <td valign=top style='border:solid windowtext 1.0pt; border-left:none;padding:3pt 5.4pt 3pt 5.4pt'>
                            @h.USERNAME
                        </td>
                        <td valign=top style='border:solid windowtext 1.0pt; border-left:none;padding:3pt 5.4pt 3pt 5.4pt'>
                            @h.GROUPCODE
                        </td>
                        <td valign=top style='border:solid windowtext 1.0pt; border-left:none;padding:3pt 5.4pt 3pt 5.4pt'>
                            @h.DESCRIPTIONS
                        </td>
                    </tr>
                }
            }
        </table>
    </div>
    <script type="text/javascript">
        window.print();
    </script>
</body>
</html>
